@import "../../_common/style/mixins/var";
// @import "../../_common/style/animations/rotate";
@mixin vmui-list {
  .vmui-list {
    text-align: left;
    background: #fff;

    &:after {
      content: '';
      display: block;
      transform-origin: 0 0;
      transform: scaleY(.5);
      border-bottom: 1px solid #b2b2b2;
    }

    .title {
      position: relative;
      font-size: pxRem(16);
      padding: pxRem(5) pxRem(12);
      color: #888;
      background-color: #f5f5f5;

      &:after {
        content: '';
        position: absolute;
        left: 0;  right: 0; bottom: 0;
        transform-origin: 0 0;
        transform: scaleY(.5);
        border-bottom: 1px solid #d9d9d9;
      }
    }
  }
}

@mixin vmui-list-item {
  .vmui-list-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: pxRem(12);
    padding-right: pxRem(12);
    line-height: pxRem(44);
    &:not(:last-child):after {
      content: '';
      position: absolute;
      left: 0;  right: 0; bottom: 0;
      transform-origin: 0 0;
      transform: scaleY(.5);
      border-bottom: 1px solid #d9d9d9;
    }
    .left, .right, .content {
      display: inline-block;
      font-size: pxRem(16);
    }
    .left {
      padding-right: pxRem(5);
      &:empty {
        padding-right: 0;
      }
    }
    .content {
      flex: 1;
      text-align: right;
      font-size: pxRem(14);
      padding-right: pxRem(5);
    }
    .right {
      color: #c9c9c9;
      display: flex;
      align-items: center;
    }
  }
}
